export interface User {
    id?: string,
    name?: string,
    account?: string,
    password?: string,
    gender?: number,
    age?:number
    contactNumber?: string
}

export interface UserDto extends User {
    current?: number,
    size?: number
}

export interface UserVo extends User {
    token: ''
}

export interface UserFormProps {
    reQuery: (params?: UserDto) => void
}

export interface UserPropsType {
    selectUserDatas?: User[]
    isOutOpen?: boolean
}

export interface SelectUserModalPropsType {
    title?: string
    hanleSelectUser?: (selectUserList: User[]) => void
}

export interface UserStoreProps {
    userInfo: User
    token: string,
    setToken: (token: string) => void
    clearToken: () => void,
    setUserInfo: (userInfo: User) => void
    clearUserInfo: () => void
}